package com.hzsparrow.business.base.contant;

/**
 * Base模块的业务码枚举
 */
public enum BaseBusinessCodeEnum {
    NOT_LOGIN(401, "没有登录", "请先登录系统！"),
    PERMISSION_DENIED(403, "没有权限", "没有权限！");;
    /**
     * 状态码
     */
    private Integer code;

    /**
     * 说明
     */
    private String remark;

    /**
     * 信息
     */
    private String msg;

    BaseBusinessCodeEnum(Integer code, String remark, String msg) {
        this.code = code;
        this.remark = remark;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
